package com.freemalll.merchant.domain.entity.coopManagement;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freemalll.merchant.common.AbstractBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 资方/费率操作日志表
 * </p>
 *
 * @author songshixiong
 * @since 2025-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mer_asset_log")
@Schema(description = "MerAssetLog对象")
public class MerAssetLog extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "log_id", type = IdType.ASSIGN_UUID)
    private String logId;

    @Schema(description = "关联id 费率存费率主键 资方传资方明细主键")
    @TableField("relation_id")
    private String relationId;

    @Schema(description = "日志内容描述")
    @TableField("log_desc")
    private String logDesc;

    @Schema(description = "操作类型 ADD:新增 EDIT: 编辑")
    @TableField("operation_type")
    private String operationType;


}
